<?php
/**
 * URI
 * 
 * Represents a Uniform Resource Identifier (URI) reference. 
 * 
 * @category	Network
 * @package		dayscript.net
 * @subpackage	
 * @author		Nelson Daza <ndaza@dayscript.com>
 * @copyright	2009 Dayscript Ltda.
 * @license		
 * @version		1.0
 * @version		$Revision: 0 $
 * @filesource	
 * @link		http://www.dayscript.com
 * @link		{docsLink}
 * @uses		
 * @since		1.0
 * @modifiedby	$LastChangedBy: Nelson Daza $
 * @modified	$Date: 2009-08-26 $
 */

namespace dayscript;

/**
 * URI
 * 
 * This class provides constructors for creating URI instances from their components or by parsing their string forms, methods for accessing the various components of an instance, and methods for normalizing, resolving, and relativizing URI instances. 
 * 
 * @category	Network
 * @package		dayscript.net
 * @subpackage	
 * @author		Nelson Daza <ndaza@dayscript.com>
 * @copyright	2009 Dayscript Ltda.
 * @license		
 * @version		1.0
 * @link		http://www.dayscript.com
 * @link		{docsLink}
 * @uses		
 * @since		1.0
 * @modifiedby	$LastChangedBy: Nelson Daza $
 * @modified	$Date: 2009-08-26 $
 */
class URI	{
	/**
	 * Singleton instance
	 * @var URI $instance
	 * @access protected
	 */
	private static $instance = null;
	/**
	 * URI constructor
	 * @return \dayscript\net\URI
	 */
	private function __construct( )	{
		
	}
	/**
	 * Returns global URI Instance
	 * @return URI
	 */
	public static function getInstance( )	{
		if( self::$instance === null )	{
			self::$instance = new self( );
		}
		return self::$instance;
	}

}